import { Injectable } from '@nestjs/common';
import { TypeOrmCrudService } from '@nestjsx/crud-typeorm';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { GoodsSpecification } from '../../entities/goods_specification.entity';

@Injectable()
export class GoodsSpecificationService extends TypeOrmCrudService<GoodsSpecification> {
  constructor(
    @InjectRepository(GoodsSpecification)
    private readonly rep: Repository<GoodsSpecification>
  ){
    super(rep);
  }
}
